package com.thxrinfo.stop.api.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.pig4cloud.pig.common.mybatis.base.BaseEntity;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;
import lombok.EqualsAndHashCode;

import java.math.BigDecimal;

/**
 * 路边车场区域
 *
 * @author ct
 * @date 2023-02-06 15:58:09
 */
@Data
@TableName("st_region_road")
@EqualsAndHashCode(callSuper = true)
@Schema(description = "路边车场区域")
public class RegionRoad extends BaseEntity {

    /**
     * id
     */
    @TableId(type = IdType.ASSIGN_ID)
    @Schema(description ="id")
    private Long id;

    /**
     * 停车场id
     */
    @Schema(description ="停车场id")
    private Long parkId;

    /**
     * 区域名称
     */
    @Schema(description ="区域名称")
    private String regionName;

    /**
     * 车位数
     */
    @Schema(description ="车位数")
    private Integer spaceNum;

    /**
     * 区域级别
     */
    @Schema(description ="区域级别")
    private String level;

    /**
     * 是否安装硬件
     */
    @Schema(description ="是否安装硬件")
    private String isHardware;

    /**
     * 是否以下发 0-未下发 1-已下发
     */
    @Schema(description ="是否以下发 0-未下发 1-已下发")
    private String isSync;

    /**
     * 详细地址
     */
    @Schema(description ="详细地址")
    private String address;

    /**
     * 经度
     */
    @Schema(description ="经度")
    private BigDecimal longitude;

    /**
     * 纬度
     */
    @Schema(description ="纬度")
    private BigDecimal latitude;


}
